package com.woniuxy.service;

import com.woniuxy.pojo.ServiceManager;
import com.woniuxy.util.DataGridView;
import com.woniuxy.vo.ServiceVo;

import java.util.HashMap;
import java.util.List;

/**
 * @Author: yangsen
 * @Date: 2020/5/12 15:06
 */

public interface ServiceService {
    /**
     * 创建服务工单
     */
    public boolean newWorkOrder(ServiceManager serviceManager);
    /**
     * 按条件查询服务单
     */
    public DataGridView selectServiceByServiceVo(ServiceVo serviceVo);
    /**
     * 查询所有服务单
     */
    public List<ServiceManager> selectAllService();
    /**
     * 进行分配角色
     */
    public void distributeService(HashMap<String,String> userName);
    /**
     * 通过客服姓名查询到所有的服务单
     */
    public List<ServiceManager> selectServiceManagerByName(String name);
    /**
     * 处理服务单
     */
    public boolean dealService(ServiceManager serviceManager);
    /**
     * 反馈
     */
    public boolean resultService(ServiceManager serviceManager);
    /**
     * 进行归档
     */
    public boolean serviceFeedback(ServiceManager serviceManager);
    //服务单查询
    public List<Integer> serviceType();
}
